package com.cxytiandi.sharding.repository;

import com.cxytiandi.sharding.po.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrderRepository {

    Long addOrderInfo(Order order);

    List<Map<String,Object>> getInfo(@Param("orderId")Long orderId) ;

    List<Map<String,Object>> pageInfo();
}
